package main

import (
	"aquaman/app/cmd/job"
	"aquaman/app/cmd/serve"
	"fmt"
	"github.com/spf13/cobra"
	"os"
)

func main(){
	if err := rootCmd.Execute(); err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
}

var rootCmd = &cobra.Command{
	Use:   "aquaman",
	Short: "This is Aquaman",
}


func init() {
	rootCmd.AddCommand(serve.ServeCmd)
	rootCmd.AddCommand(job.JobCmd)
}

